html,body {margin: 0; padding: 0; height: 100%; }
/*
body {background: #edf4fb url(../images/mbg.jpg); font: 9pt Helvetica, verdana, tahsoma, Arial, sans-serif; text-align: center; color: #505050; }
*/

body {background: url("../images/body.gif") repeat-y scroll center top #bec3cc; font: 9pt Helvetica, verdana, tahsoma, Arial, sans-serif; text-align: center; color: #505050; }
/*url("body.gif") repeat-y scroll center top #edf4fb*/
p {margin: 10px 0; }
hr {height: 1px; background: #696969; border: 0; }
.clear {clear: both; }

/********* Links *********/
a {color: #4e96e6; outline: none; }
a:hover {color: #000; }

/********* Container *********/
div#container {width: 899px; text-align: left; background: #e8e8e8 ; margin: 0 auto; /*border-left: 2px solid #f1f1f1; border-right: 2px solid #f1f1f1;*/}

/********* Header block *********/
div#header  {height: 100px; margin: 0; background: #8d9194; color: #000; text-align: center; overflow: hidden; }
div#header h1 {/*height: 60px;*/  margin: 0; padding-top: 10px; font-size: 2.1em; color: #e7eef3; }

div#head_img  {background: #dfe7f3; height: 170px;}
div#head_img #logo {height: 170px; width: 178px; float: left;}

/********* Content block *********/
div#content {float: left; background: #fafafa; width: 643px; padding: 5px 8px; margin: 4px 0px 0px 0px;}
div#content p {margin: 0px 0; padding: 2px 5px; }
/*div#content img {margin: 10px 15px; float: left; }*/
div#content a img {border: 0; }
div#content a:hover img {border: 0; }
div#content a.catlink {color: #696969; text-decoration: none;}
div#content a.catlink:hover {color: #000; text-decoration: none; }
div#content a.postlink {}
div#content a.postlink:hover {text-decoration: none; }

.pll {float: left; font-size:smaller;}
.plr {float: right; }
.postlinks {clear: both; padding: 2px; margin: 5px 5px; background: #E6D3AC; height: 14px;}
.postlinks a {color: #4e96e6; font-weight: bold; text-decoration: none;}
.postlinks a:hover {text-decoration: none; }

.post { margin-top: 8px;}
/********* Right sidebars *********/
div#sidebar1 {float: right; width: 227px; background: #fff; padding: 5px; margin: 4px 0px 0 0; }
div#sidebar2 {float: right; clear: right; width: 227px; background: #e7eeee; margin: 4px 0px 0 0; padding: 5px; color: #232323; }

div#sidebar1 h3, div#sidebar2 h3 {color: #000; }

/********* Search Block *********/
.searchBlock {float: right; /*border-bottom: 1px solid #cecece;*/}
.searchBlock p {margin: 5px 5px; text-align:right;}
form#searchForm p {height: 30px; padding: 2px; }
form#searchForm span {font-weight: bold; margin-right: 4px; }
form#searchForm input {width: 250px; height: 22px; background: #fff url(../images/sbg.png) no-repeat left; border: 1px solid #cecece; padding: 5px 5px 2px 20px; }
form#searchForm input:hover {width: 250px; height: 22px; background: #fff url(../images/sbg.png) no-repeat left; border: 1px solid #696969; padding: 5px 5px 2px 20px; }

/********* Right sidebars menu *********/
div#sidebar1 ul {list-style-type: none; margin: 0; padding: 0; width: 227px; }
div#sidebar1 ul li {border-bottom: 1px solid #cecece;}
div#sidebar1 ul li a {font-size: 10pt; font-weight: bold; color: #4e96e6; padding: 6px 4px 6px 22px; background: url(../images/arrow1.gif) no-repeat bottom left; width: auto; display: block;}
div#sidebar1 ul li a:hover {color: #000; background: url(../images/arrow1.gif) no-repeat top left; text-decoration: none; }

div#sidebar1 ul li.selected a {color: #000; background: url(../images/arrow1.gif) no-repeat top left; text-decoration: none; }
/********* Bottom blocks *********/

.bottomBlock {float: left; width: 316px; background: #edf4fb; margin: 5px 0 5px 5px; padding: 5px; color: #000; }
.bottomBlock h3 {color: #fff; margin: 2px; font-family: Arial, Helvetica, Tahoma; background: #4e96e6; padding: 4px 0 4px 10px; }

/********* Bottom blocks lists *********/
.bottomBlock ul.uli {list-style-type: none; margin: 0; padding: 0; width: 227px; }
.bottomBlock ul.uli li {border-bottom: 1px solid #cecece;}
.bottomBlock ul.uli li a {color: #fff; padding: 6px 4px 6px 10px; background: #696969; width: auto; display: block; }
.bottomBlock ul.uli li a:hover {color: #fff; background: #232323; }

.bottomBlock ul.uli2 {list-style-type: none; margin: 0; padding: 0; width: 227px; }
.bottomBlock ul.uli2 li {border-bottom: 1px solid #cecece;}
.bottomBlock ul.uli2 li a {color: #000; padding: 6px 4px 6px 10px; background: #888; width: auto; display: block;}
.bottomBlock ul.uli2 li a:hover {color: #fff; background: #000; }

/********* Footer *********/
div#footer {clear: both; text-align: center; height: 30px; background: #232323; color: #fff; padding: 0px; }
div#footer p {margin: 0; padding: 5px 5px; }


/********* Headings *********/
h1,h2,h3,h4,h5,h6 {margin: 2px 5px; }
h1 {font-size: 2.6em; }
h2 {font-size: 2.2em; }
h3 {font-size: 1.4em; }
h4 {font-size: 1.2em; }
h5 {font-size: 1.0em; }
h6 {font-size: 0.8em; }

/********* Main menu *********/
#mainmenu {background: #85898c; float: right; width: 100%; height: 22px; border-bottom: 3px solid #6d6d6d; overflow: hidden; }
#mainmenu ul {float: right; list-style: none; margin: 0 10px; }
#mainmenu li {display: inline; margin: 0; padding: 0; }
#mainmenu li a {float: left; background: #85898c  no-repeat left top; margin: 0; padding: 0 0 0 0px; text-decoration: none; font-weight: bold;}
#mainmenu li a span {float: left; display: block; background: #85898c  no-repeat right top; padding: 4px 10px 4px 10px;  color: #e7eef3;}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#mainmenu li a span {float: none; }
/* End IE5-Mac hack */
#mainmenu li a:hover span {background: #6d6d6d;}
#mainmenu li.selected a {background: #6d6d6d; }
#mainmenu li.selected a span {background: #6d6d6d; color: #e7eef3; }

/********* Tables *********/
table {width: 100%; border-collapse: collapse; margin: 5px 0; }
th {background: #232323; color: #fff; padding: 4px 6px; border: 1px solid #cecece; border-collapse: collapse; }
td {background: #fff; color: #232323; padding: 4px 6px; border: 1px solid #cecece;border-collapse: collapse; }
td:hover {background: #e2eefc; color: #232323; padding: 4px 6px; border: 1px solid #cecece;border-collapse: collapse; }

/********* Forms *********/
form {margin: 0; padding: 0; }
form fieldset {margin: 0.5em 0; padding: 1em; border: 1px solid #CCC; }
form fieldset p {margin: 2px 12px 10px 10px !important; padding: 0px !important; }
form fieldset label {display: block;}
form fieldset label.inline {display: inline;}
form legend {font-size: 1.1em; font-weight: 600; padding: 2px 4px 8px 4px;}
form input[type="text"] {width: 200px; border: 1px solid #CCC;}
form input[type="password"] {width: 200px; border: 1px solid #CCC;}

form#commentForm p {margin: 5px; height: 20px; }
form#commentForm fieldset {border: 1px solid #cecece; margin: 0; width: 600px; }
form#commentForm legend {padding: 4px 10px; font-weight: bold; font-size: 10pt; text-transform: uppercase; }
form#commentForm label {float: left; font-weight: bold; }
form#commentForm label span {color: #ff0000; }
form#commentForm input {width: 410px; float: right; border: 1px solid #cecece; padding: 2px 5px 2px 5px; }
form#commentForm input:hover {width: 410px; float: right; border: 1px solid #696969; padding: 2px 5px 2px 5px; }
form#commentForm textarea {width: 420px; float: right; height: 200px; overflow: auto; border: 1px solid #cecece;}
form#commentForm textarea:hover {width: 420px; float: right; height: 200px; overflow: auto; border: 1px solid #696969; }
form#commentForm .button {width: 205px; float: right; margin: 2px; }
form#commentForm .button:hover {background: #cecece; cursor: pointer; width: 205px; float: right; margin: 2px; }

#edit textarea {width: 520px; height: 300px; overflow: auto; border: 1px solid #cecece;}

div#node {margin:10px 0 10px 0}